package cn.huapu.power.energy.bean.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author USER
 * @title: PcmUsepowerunitVo
 * @projectName energy
 * @description:
 * @date 2019-5-2817:44
 */
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class PcmUsepowerunitVo implements Serializable {

    private static final long serialVersionUID = 4550579421840023185L;
    private String id;
    private String name;
    private String parentId;
    private List<PcmUsepowerunitVo> nodes = new ArrayList<>();

    public PcmUsepowerunitVo() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List getNodes() {
        return nodes;
    }

    public void setNodes(List nodes) {
        this.nodes = nodes;
    }

    @Override
    public String toString() {
        return "PcmUsepowerunitVo{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", nodes=" + nodes +
                '}';
    }
}
